package cn.village.dao;
import cn.village.entity.LeaseContract;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LeaseContractMapper {

	public LeaseContract getLeaseContractById(@Param(value = "id") String id)throws Exception;

	public List<LeaseContract>	getLeaseContractListByMap(Map<String,Object> param)throws Exception;

	public Integer getLeaseContractCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertLeaseContract(LeaseContract leaseContract)throws Exception;

	public Integer updateLeaseContract(LeaseContract leaseContract)throws Exception;

	public Integer deleteLeaseContractById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteLeaseContract(Map<String,List<String>> params);

}